package Chess;

import Chess.GUI.*;
import javax.swing.UIManager;

/**
 *	A driver class to initiate the Chess GUI.
 *
 *	@author		Jeff Chan, Bryant Vu
 */
public class Chess {
    public static void main(String[] args) {
    	// Sets to native look and feel.
    	try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch(Exception e) {
			System.out.println("Error setting native LAF: " + e);
		}
    	
		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				//Create and set up the window.
				GUIController frame = new GUIController();
			}
		});
    }
}
